package com.lijun.SpringBootJavaFX.vo;

import javafx.beans.property.*;

import java.time.LocalDate;


public class PersonVo {
    private StringProperty name = new SimpleStringProperty();
    private StringProperty genderName = new SimpleStringProperty();
    private IntegerProperty genderValue = new SimpleIntegerProperty();
    private ObjectProperty<LocalDate> birthday = new SimpleObjectProperty<>();
    private StringProperty detail = new SimpleStringProperty();
    private String interestNames;
    private String interestCodes;

    public PersonVo() {
    }

    public String getName() {
        return name.get();
    }

    public StringProperty nameProperty() {
        return name;
    }

    public void setName(String name) {
        this.name.set(name);
    }

    public String getGenderName() {
        return genderName.get();
    }

    public StringProperty genderNameProperty() {
        return genderName;
    }

    public void setGenderName(String genderName) {
        this.genderName.set(genderName);
    }

    public int getGenderValue() {
        return genderValue.get();
    }

    public IntegerProperty genderValueProperty() {
        return genderValue;
    }

    public void setGenderValue(int genderValue) {
        this.genderValue.set(genderValue);
    }

    public LocalDate getBirthday() {
        return birthday.get();
    }

    public ObjectProperty<LocalDate> birthdayProperty() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday.set(birthday);
    }

    public String getDetail() {
        return detail.get();
    }

    public StringProperty detailProperty() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail.set(detail);
    }

    public String getInterestNames() {
        return interestNames;
    }

    public void setInterestNames(String interestNames) {
        this.interestNames = interestNames;
    }

    public String getInterestCodes() {
        return interestCodes;
    }

    public void setInterestCodes(String interestCodes) {
        this.interestCodes = interestCodes;
    }
}
